package com.one.service;

import com.one.dto.InsertIntoEvaluateResultDetail;
import com.one.dto.Result;
import com.one.dto.SelectBatch;
import com.one.entity.SemesterInfoEntity;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 批次表 服务类
 * </p>
 *
 * @author zwj
 * @since 2021-10-08
 */
public interface SemesterInfoService extends IService<SemesterInfoEntity> {

    Result selectBatchByCodeAndName(SemesterInfoEntity semesterInfoEntity);

    Result selectBatchByCodeAndName(SelectBatch semesterInfoEntity);

    Result insertBatch(SelectBatch semesterInfoEntity);

    Result selectBatch(SemesterInfoEntity semesterInfoEntity);

    Result updateBatch(SelectBatch semesterInfoEntity);

    Result deleteBatch(SemesterInfoEntity semesterInfoEntity);

    Result updateBatchStatus(SemesterInfoEntity semesterInfoEntity);

    Result insert(InsertIntoEvaluateResultDetail semesterInfoEntity);
}
